<template>
  <div class="error-container">
    <div class="error-box">
      <div class="error-code">404</div>
      <div class="error-message">页面不存在</div>
      <div class="error-desc">抱歉，您访问的页面不存在或已被删除</div>
      <el-button type="primary" @click="goHome">返回首页</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'NotFound',
  methods: {
    goHome() {
      this.$router.push('/')
    }
  }
}
</script>

<style lang="scss" scoped>
.error-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f7fa;
  
  .error-box {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    .error-code {
      font-size: 120px;
      font-weight: bold;
      color: #409EFF;
      line-height: 1;
      margin-bottom: 20px;
    }
    
    .error-message {
      font-size: 24px;
      color: #303133;
      margin-bottom: 15px;
    }
    
    .error-desc {
      font-size: 16px;
      color: #606266;
      margin-bottom: 30px;
    }
  }
}
</style> 